package io.adminboot.repository.extend;

import io.adminboot.entity.Article;
import io.adminboot.repository.ArticleMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ArticleExtMapper extends ArticleMapper {

	List<Article> selectList(@Param("title") String title, @Param("offsetStart") int offsetStart,
							 @Param("rowCount") int rowCount);

	int count(@Param("title") String title);

	void deleteBatchIds(@Param("ids") List<Long> ids);

}
